﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SlaughterItem.Common.Domains
{
    /// <summary>
    /// 人员
    /// </summary>
    public class Staff
    {
        /// <summary>
        /// 人员Id
        /// </summary>
        [Key]
        public int StaffId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string StaffName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool StaffSex { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string StaffPhone { get; set; }
        /// <summary>
        /// 账号（外键）
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 角色（外键）
        /// </summary>
        public int RoleId { get; set; }
    }
}
